package pres.man.interview.simple;

/**
 *
 * @author MAN
 * @date 2020-12-05 21:49
 * @project
 * @since
 */
public class AADDB {
    public static void main(String[] args) {
        t2();
    }

    /**
     * a += b与a = a + b;区别
     */
    private static void t1() {
        int a = 0;
//        short a = 0;
        int b = 0;
        a += b;
        a = a + b;
    }

    private static void t2() {
        int a = 0;
        int b = 0;
        if (a == b) {

        }

        if (a - b == 0) {

        }
    }
}
